﻿var status = -1;

function action(mode, type, selection) {
	cm.worldSpouseMessage(0x15, "『歼灭海盗』 : " + cm.getChar().getName() + " 带带着他的敢死队成功剿灭了冒险岛海上世界的打家劫舍的海盗！");
	cm.gainPlayerEnergy(1300);
	cm.gainPlayerPoints(1300);
	cm.gainItem(2614046, 3);
	cm.gainItem(5062000, 2);
	cm.gainItem(5062000, 2);
	cm.gainItem(2431347, 2);
	cm.gainItem(2431114, 2);
	cm.gainItem(2436249, 2);
	cm.gainNX(2, 1300);
	cm.setEventCount("海盗");
	cm.setPartyEventCount("海盗1");
	cm.warp(251010404);
	cm.sendOk("您获得的组队任务奖品：\r\n#v2614046#x3 #v5062000#x2 #v5062002#x2 #v2431347#x2 #v2431114#x2 #v2436249#x2 \r\n抵用券x1300 PPMS活跃x1300 PPMS微积分x1300");		
	cm.dispose();
	
}
